package com.wswy.wyjk.ui.login.Interface;

import com.my.httpapi.api.baseView.BaseModelInter;
import com.wswy.wyjk.api.entity.DeviceMod;
import com.wswy.wyjk.ui.login.model.CaptchaData;
import com.wswy.wyjk.ui.login.model.CaptchaValidData;
import com.wswy.wyjk.ui.login.model.LoginResponse;
import com.wswy.wyjk.ui.login.model.SendPicResponse;
import com.wswy.wyjk.ui.login.model.VerificationPicResponse;

import java.io.IOException;
import java.util.Map;

public interface ILogin {
    interface IModel extends BaseModelInter {
    }

    interface IPresenter {
        void getCaptcha();

        void validCaptchaTc(Map<String, String> map);

        void code(Map<String, String> map);

        void picSend(Map<String, String> map);

        void verSend(Map<String, String> map);

        void login(Map<String, String> map);

        void timeEnd();

        void requestDevice(Map<String, String> map);
    }

    interface IView {
        void timeOnTick(long millisUntilFinished) throws IOException;

        void timeFinish() throws IOException;

        void getCaptcha(CaptchaData captchaData) throws IOException;

        void validCaptchaTc(CaptchaValidData captchaValidData) throws IOException;

        void login(LoginResponse loginResponse) throws IOException;

        void isGee(Boolean b) throws IOException;

        void geeData(String str) throws IOException;

        void geePic(SendPicResponse sendPicResponse) throws IOException;

        void verPic(VerificationPicResponse verificationPicResponse) throws IOException;

       void getUUID(DeviceMod deviceMod)  throws IOException;
    }
}
